package com.oa.system.vo;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.oa.system.entity.Permission;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.Date;
import java.util.List;

/**
 * 岗位详情VO
 */
@Data
public class PostDetailsVO {

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.UUID)
    private String id;

    @ApiModelProperty(value = "岗位名称")
    private String postName;

    @ApiModelProperty(value = "所属部门-ID")
    private String departmentId;

    @ApiModelProperty(value = "所属部门-名称")
    private String departmentName;

    @ApiModelProperty(value = "职务")
    private String duty;

    @ApiModelProperty(value = "岗位描述")
    private String description;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "id逗号拼接")
    private String permissionIds;

    @ApiModelProperty(value = "岗位权限集合")
    private List<PermissionVO> permissionVOList;


}
